﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _027_解释器模式
{
    abstract class Expression
    {
        public void Interpret(string content)
        {
            if (content.Length < 0)
            {
                return;
            }
            Execute(content);
        }

        public abstract void Execute(string content);
    }
}
